<%@ page language="java" contentType="text/html; charset=windows-1255"
    pageEncoding="windows-1255"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Register</title>

<script type="text/javascript" src="common_scripts.js" ></script>
</head>
<body>

<%@ include file="WEB-INF/private/body_wrapper_header.html" %>
<h1>Registration page</h1>
<h2>Please fill out this form in order to register to the site</h2>

<form id="register_form" method="post" action="RegisterNewUser" onsubmit="return verifyForm()">

<table>
<tr>
	<td>Username:</td>
	<td><input id="input_username" type="text" name="username" maxlength="32" onkeyup="verifyUsername()" /></td> 
	<td id = "img_username"></td>
</tr>
<tr>
	<td>Password:</td>
	<td><input id="input_pass" type="password" name="password" maxlength="32" onkeyup="verifyPassword(); verifyPasswordVerify()" /></td> 
	<td id = "img_pass"></td>
</tr>
<tr>
	<td>Password Verify:</td>
	<td> <input id="input_pass_verify" type="password" name="password" maxlength="32" onkeyup="verifyPasswordVerify()" /></td> 
	<td id = "img_pass_verify"></td>
</tr>
<tr>
	<td>First Name: </td>
	<td><input type="text" id="input_first_name" name="first_name" maxlength="32" onkeyup="verifyFirstName()" /></td> 
	<td id = "img_first_name"></td>
</tr>
<tr>
	<td>Last Name: </td>
	<td><input type="text" id="input_last_name" name="last_name" maxlength="32" onkeyup="verifyLastName()" /></td> 
	<td id = "img_last_name"></td>
</tr>
<tr>
	<td>Phone Number: </td>
	<td><input type="text" id="input_phone_number" name="phone_number" maxlength="32" onkeyup="verifyPhoneNumber()" /></td> 
	<td id = "img_phone_number"></td>
</tr>
<tr>
	<td>Administrator Account? </td>
	<td><input id="input_is_admin" type="checkbox" name="is_admin" /></td>
</tr>

<tr>
	<td></td>
	<td><input type="submit" value="Submit"></input></td>
</tr>
</table>
</form>

		
<%@ include file="WEB-INF/private/body_wrapper_footer.html" %>

</body>
</html>

